package controllers;

import models.Event;
import play.mvc.Controller;

import java.util.List;

public class Application extends Controller {

    public static void index() {
        List events = Event.find("byIsActive", true).fetch();
        render(events);
    }

}